package oop_05.homework_02;

public class Test {
    public static void main(String[] args) {
        Ape ape ;
       ape = new People("小方方");
       ape.speak();
//       ((People) ape).think();
       if (ape instanceof People){
           People xiaoQiang=(People)ape;
            xiaoQiang.think();


       }
//        ape.speak();
//        People people = new People("大方方");
//        people.speak();
//        people.think();
    }

}
